Piwik\Plugins\PrivacyManager\PrivacyManager B

Total Complexity 90
Dependencies 26
Dependents 7
Total lines 725
Lines of code 517
Logical lines of code 403
Comment lines 160
Methods 33
Properties 3

Methods 33

Method Rating Maintainability Complexity Lines of code
getClientSideTranslationKeys()
A
25
1 219
haveLogsBeenPurged()
A
51 8 24
hasReportBeenPurged()
A
56 8 16
onConfigureVisualisation()
S
56 6 16
getPurgeDataSettings()
S
56 5 18
renderPrivacyPolicyLinks()
S
56 5 17
shouldPurgeData()
S
58 5 15
getReportDate()
S
56 4 18
deleteLogData()
S
56 4 18
getAllMetricsToKeep()
S
57 4 16
getPurgeEstimate()
S
58 4 15
shouldReportBePurged()
S
59 4 13
deleteReportData()
S
60 3 12
savePurgeDataSettings()
S
66 3 8
shouldDisablePostProcessing()
S
72 3 5
shouldRenderFooterLinks()
S
64 3 10
installationFormSubmit()
S
66 2 8
getUserIdSalt()
S
66 2 8
shouldAddTrackerFile()
S
73 2 5
getDeleteIntervalInSeconds()
S
79 1 3
getGoalMetricsToKeep()
S
80 1 3
getMaxGoalId()
S
78 1 3
__construct()
S
72 1 5
getMetricsToKeep()
S
75 1 3
install()
S
81 1 3
installationFormInit()
S
71 1 4
getStylesheetFiles()
S
69 1 7
setTrackerCacheGeneral()
S
64 1 9
isTrackerPlugin()
S
82 1 3
getTablesInstalled()
S
79 1 3
registerEvents()
S
73 1 3
uninstall()
S
81 1 3
isCookieLessTrackingForced()
S
74 1 4